


import axios, { AxiosRequestConfig, AxiosResponse } from "axios";
const server = axios.create({
  baseURL: "http://sims.cuilb.cn",
});

server.interceptors.request.use((config: AxiosRequestConfig<any>) => {
  return config;
});
server.interceptors.response.use((response: AxiosResponse) => {
  return response.data;
});

export default server;
